package com.sims.dao.impl;

import org.hibernate.Session;
import org.hibernate.SessionFactory;

import com.sims.util.HibernateSessionFactory;

public class BaseDao {
	private SessionFactory sessionFactory = HibernateSessionFactory
			.getSessionFactory();

	public Session getSession() {
		Session session = sessionFactory.openSession();
		return session;
	}
}
